import request from '@/utils/request'

// 查询用户交接信息列表
export function listSysUserHandover(query) {
  return request({
    url: '/handover/sysUserHandover/list',
    method: 'post',
    data: query
  })
}

// 查询用户交接信息详细
export function getSysUserHandover(id) {
  return request({
    url: '/handover/sysUserHandover/' + id,
    method: 'get'
  })
}

// 保存用户交接信息
export function saveSysUserHandover(data) {
  return request({
    url: '/handover/sysUserHandover/save',
    method: 'post',
    data: data
  })
}

// 删除用户交接信息
export function delSysUserHandover(id) {
  return request({
    url: '/handover/sysUserHandover/' + id,
    method: 'delete'
  })
}

// 导出用户交接信息
export function exportSysUserHandover(query) {
  return request({
    url: '/handover/sysUserHandover/export',
    method: 'get',
    params: query
  })
}
